<%= error_messages_for :member %>
<% form_for :member, :url => {:controller => 'admin/members', :action => 'set_membership', :id => @member} do |f| -%>
<fieldset>
<legend>Update role for <%= @member.login %></legend>
    <p><label for="membership">Membership</label><br/>
    <%= select('member', 'membership', ['flex', 'resident']) %></p>

    <p><%= submit_tag 'Save' %></p>
</fieldset>
<% end -%>